import { MutationTree } from 'vuex';
import { States } from '@/store/states';
const Mutations: MutationTree<any> = {
    setNavContent(state: States, payload: any): void {
        if (payload) state.navContent = payload;
    },

    setRouterMap(state: States, payload: any): void {
        if (payload) state.routerMap = payload;
    },
    setArticlePage(state: States, payload: any): void {
        if (payload) state.articlePage = payload;
    },
};
export default Mutations;
